import 'package:daoyi_ui_admin_getx/app/routes/app_pages.dart';

class FunctionButtonItemData {
  final String title;
  final String icon;
  final String? route;
  final bool isShow;
  final Function? onTap;

  const FunctionButtonItemData({
    required this.title,
    required this.icon,
    this.route,
    this.isShow = true,
    this.onTap,
  });
}

const List<FunctionButtonItemData> list = [
  FunctionButtonItemData(
    title: '收藏',
    icon: 'static/mine-collect.png',
  ),
  FunctionButtonItemData(
    title: '足迹',
    icon: 'static/mine-footprint.png',
  ),
  FunctionButtonItemData(
    title: '消息',
    icon: 'static/mine-message.png',
  ),
  FunctionButtonItemData(
    title: '作品',
    icon: 'static/mine-publish.png',
    route: Routes.PRODUCTIONS
  ),
  FunctionButtonItemData(
    title: '客服',
    icon: 'static/mine-service.png',
  ),
  FunctionButtonItemData(
    title: '简历',
    icon: 'static/mine-resume.png',
    route: Routes.RESUME
  ),
];
